package com.test.demo.mapper;

import com.test.demo.pojos.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface StudentMapper {


//    void selectOne(@Param("id") String id);
//
//
//    void oneTomany();

    @Select("select * from student where id = #{id}")
    Student selectById(@Param("id") Integer id);
}
